home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / enscript.4 / enscript / enscript-1.4.0 / src / Makefile.am < prev    next >
Encoding:
Makefile  |  1996-06-29  |  1.4 KB  |  46 lines

  1. #
  2. # Makefile for enscript.
  3. # Copyright (c) 1995 Markku Rossi
  4. #
  5. # Author: Markku Rossi <mtr@iki.fi>
  6. #
  7.  
  8. #
  9. # This file is part of GNU enscript.
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; either version 2, or (at your option)
  13. # any later version.
  14. #
  15. # This program is distributed in the hope that it will be useful,
  16. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  18. # GNU General Public License for more details.
  19. #
  20. # You should have received a copy of the GNU General Public License
  21. # along with this program; see the file COPYING.  If not, write to
  22. # the Free Software Foundation, 59 Temple Place - Suite 330,
  23. # Boston, MA 02111-1307, USA.
  24. #
  25.  
  26. AUTOMAKE_OPTIONS = no-dependencies ansi2knr
  27.  
  28. bin_PROGRAMS = enscript mkafmmap
  29. enscript_SOURCES = main.c psgen.c util.c xalloc.c prt_lpr.c
  30. mkafmmap_SOURCES = mkafmmap.c
  31.  
  32. LDADD = ../afmlib/libafm.a @INTLLIBS@ ../compat/libcompat.a -lm
  33.  
  34. noinst_HEADERS = gsint.h
  35.  
  36. localedir = $(prefix)/@DATADIRNAME@/locale
  37.  
  38. DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\" -DLIBRARY=\"$(datadir)/enscript\" -DSYSCONFDIR=\"$(sysconfdir)\"
  39. INCLUDES = -I. -I$(srcdir) -I.. -I$(srcdir)/../compat -I$(srcdir)/../afmlib -I$(srcdir)/../intl -I../intl
  40.  
  41. EXTRA_DIST = testcase.sh ansi2knr.c ansi2knr.1 prt_dos.c
  42.  
  43. check: enscript
  44.     $(srcdir)/testcase.sh $(srcdir)
  45.